/*  J
**  Date 2007-06-04 20:23:21 
**  File parser.h  v 1.0
**  Author Mucker
**  See Copyright Notice in J.h
**  
*/
#ifndef parser_h
#define parser_h

#include "J.h"
#include "chuck.h"

typedef enum {
    E_NIL,
    E_CLASS,
    E_VAR,
    E_LOCAL,
    E_NUMBER,
    E_STRING,
    E_LOADED, 
    E_FUNCTION,
    E_TRASHY,
	E_VOID	
}expkind;


typedef struct expdesc{
    expkind k;
    union {
        struct {
            int info;
        }str;
        Jnumber num;
    }tag;

}expdesc;


J_API(void) parser(parser_state *ps);
#endif
